-
Notifications
You must be signed in to change notification settings - Fork 715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(axis): include defaultTextProps in Axis labelProps #1791
Conversation
This enables passing of partial labelProps per the docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix here/making it consistent with tickLabelProps
! (that behavior was added relatively recently in #1662)
Technically this could be thought of as a breaking change as it would change existing behavior if consumers expect to provide all props. However for tickLabelProps
we just made it a minor
version bump so we can do that here. I agree this is a better dev x.
Co-authored-by: Chris Williams <williaster@users.noreply.github.com>
Thanks @williaster! Suggested changes applied. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry missed one spot that I think needs to include the superset of props. else lgtm! thanks for the followup 🙏
Co-authored-by: Chris Williams <williaster@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah fun, sorry hopefully third time's the charm :)
Co-authored-by: Chris Williams <williaster@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks again @RyKilleen ! 🙏
🎉 This PR is included in version |
🐛 Bug Fix
Closes #1790